/*
 * Copyright 2011 Freddy.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package mx.uacam.balam.entities;

import java.io.Serializable;

/**
 *
 * @author Freddy
 */
public class SeederDetails implements Serializable {

    private static final long serialVersionUID = -5025217419220011620L;
    private String nameSeeder;
    private int portListenClient;
    private int portListenTracker;
    private String host;
    private int status;

    /**
     * 
     * @param nameSeeder the name of the seeder
     * @param portListenClient the port for to listen to the client
     * @param host the url of the seeder
     * @param status the status of server
     * @param portListenTracker the port for to listen to the tracker
     */
    public SeederDetails(String nameSeeder, int portListenClient, String host, int status, int portListenTracker) {
        this.nameSeeder = nameSeeder;
        this.portListenClient = portListenClient;
        this.host = host;
        this.status = status;
        this.portListenTracker = portListenTracker;
    }

    /**
     * Get the value of portListenTracker
     *
     * @return the value of portListenTracker
     */
    public int getPortListenTracker() {
        return portListenTracker;
    }

    /**
     * Set the value of portListenTracker
     *
     * @param portListenTracker new value of portListenTracker
     */
    public void setPortListenTracker(int portListenTracker) {
        this.portListenTracker = portListenTracker;
    }

    /**
     * Get the value of status
     *
     * @return the value of status
     */
    public int getStatus() {
        return status;
    }

    /**
     * Set the value of status
     *
     * @param status new value of status
     */
    public void setStatus(int status) {
        this.status = status;
    }

    /**
     * Get the value of host
     *
     * @return the value of host
     */
    public String getHost() {
        return host;
    }

    /**
     * Set the value of host
     *
     * @param host new value of host
     */
    public void setHost(String host) {
        this.host = host;
    }

    /**
     * Get the value of port
     *
     * @return the value of port
     */
    public int getPortListenClient() {
        return portListenClient;
    }

    /**
     * Set the value of port
     *
     * @param port new value of port
     */
    public void setPortListenClient(int port) {
        this.portListenClient = port;
    }

    /**
     * Get the value of nameSeeder
     *
     * @return the value of nameSeeder
     */
    public String getNameSeeder() {
        return nameSeeder;
    }

    /**
     * Set the value of nameSeeder
     *
     * @param nameSeeder new value of nameSeeder
     */
    public void setNameSeeder(String nameSeeder) {
        this.nameSeeder = nameSeeder;
    }
}
